<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>个人资料</title>
    <!--    <link rel="stylesheet" href="css/base.css">-->
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/layui-v2.6.8/layui/css/layui.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/information.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/common.css">
</head>
<body>

<!-- 你的 HTML 代码 -->
<!--<div class="nav" ></div>-->
<!-- 顶部导航 -->
<div class="header">
    <div class="w">
        <div class="logo fl"><a href="${pageContext.request.contextPath}/selectGoods">LOGO</a></div>
        <div class="search">
            <input type="text" name="" class="text" placeholder="请输入">
            <button class="btn"><i class="layui-icon layui-icon-search"></i></button>
        </div>
        <div class="r_box fr">
            <a href="${pageContext.request.contextPath}/lookCart"><i class="layui-icon layui-icon-cart-simple"></i></a>
            <span class="r_box_login"><a href="${pageContext.request.contextPath}/allOrder">${user.username}</a></span>
        </div>
    </div>
</div>

<div class="login_1" >
    <div class="title" align="center">
        <b>个人资料</b>
    </div>


    <div class="login_2" align="left">
        <form action="${pageContext.request.contextPath}/updateuserInfor">
            <ul>
                <li class="li">
                    <label for="">当前头像&nbsp;&nbsp;</label>
                    <img src="static/image/1.png" height="74" width="86"/>
                </li>
                <br/>
                <li class="li">
                    <label for="">昵&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;称&nbsp;&nbsp;</label>
                    ${infor.user.username}
                </li>
                <br/>
                <li class="li">
                    <label for="">真实姓名&nbsp;&nbsp;</label>
                    ${infor.realname}
                </li>
                <br/>
                <li class="li">
                    <label for="">性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别&nbsp;&nbsp;</label>
                    ${infor.gender}
                </li>
                <br/>
                <li class="li">
                    <label for="">居&nbsp;住&nbsp;地&nbsp;&nbsp;</label>
                    ${infor.ars}
                </li>
                <br/>
                <li class="li">
                    <label for="">家&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;乡&nbsp;&nbsp;</label>
                    ${infor.home}
                    </li>
            </ul>
            <br/>
            <br/>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    		&nbsp;&nbsp;
                   <input type="submit" value="修改"/><br/>
                   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="sp">若首次填写个人信息，请点击<a href="${pageContext.request.contextPath}/insertuserInfor">"填写"</a><span>
        </form>
    </div>
</div>
</body>
</html>